home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dskut / billutil.zip / WINSKIP.ZIP / WINSKIP.TXT < prev   
Text File  |  1993-11-13  |  2KB  |  38 lines

  1.     WINSKIP.EXE
  2.  
  3.     Winskip is a program to be run from your AUTOEXEC.BAT file.  It gives
  4. you the chance to skip booting into Windows if you want.  A typical use
  5. would be the following:
  6.  
  7. @ECHO OFF
  8. winskip.exe
  9. if errorlevel 1 goto end
  10. win
  11. :end
  12.  
  13. This supposes that winskip.exe is in the directory c:\utils.  The second
  14. line runs the program.  It prompts for a keypress if you want to skip
  15. Windows.  If a key is pressed it returns an errorlevel of 1, and then 
  16. the third line given above skips the 'win' line (which boots Windows).  
  17. If, however, a key isn't pressed while winskip is prompting, it returns an
  18. errorlevel of 0.  Thus the third line does nothing, and Windows is run.
  19.     Simple installation instructions: Copy winskip.exe to any directory
  20. (say utils), and then use any text editor (like DOS edit) to add lines
  21. similar to the example above to your autoexec.bat file.
  22.     Advanced cool feature: Create a file in the root directory of your
  23. C drive named winskip.cfg.  In the file put a single number.  Then winskip
  24. will read the file and use that number of seconds as the time to wait for
  25. a keypress.  By default, if winskip can't find the file it waits 5 seconds.
  26. I presonally use a 3 second time though.  NOTE:  YOU CAN MAKE THIS FILE
  27. HIDDEN!  If you create c:\winskip.cfg, it gets old to always see it in your
  28. root directory.  So just hide it by doing the following:
  29.  
  30. attrib c:\winskip.cfg +h
  31.  
  32. This will prevent you from seeing it, but winskip will still be able to find
  33. it!  (To make it visible to you again just type attrib c:\winskip.cfg -h)
  34.     Source is included.  It uses floating point arithmetic to compute the
  35. time waited. :-(  Possible modifications include a different default time
  36. and different config file location and time.
  37.  
  38.